package com.newsproject.pojo;

import java.util.Date;

public class Repost {
    private int repostId;
    private int userId;
    private int postId;
    private Date createdTime;
    private int forwardedId;
    public Repost() {
    }
    public Repost(int repostId, int userId, int postId, Date createdTime) {
        this.repostId = repostId;
        this.userId = userId;
        this.postId = postId;
        this.createdTime = createdTime;
    }
    public int getRepostId() {
        return repostId;
    }
    public void setRepostId(int repostId) {
        this.repostId = repostId;
    }
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public int getPostId() {
        return postId;
    }
    public void setPostId(int postId) {
        this.postId = postId;
    }
    public Date getCreatedTime() {
        return createdTime;
    }
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public int getForwardedId() {
        return forwardedId;
    }

    public void setForwardedId(int forwardedId) {
        this.forwardedId = forwardedId;
    }
}
